package core

import "context"

type SenderGroup struct {
	Ctx     context.Context
	Name    string
	Senders []Sender
}

func (g *SenderGroup) StartSenderGroup() error {
	for _, sender := range g.Senders {
		err := sender.StartSender()
		if err != nil {
			return err
		}
	}

	return nil
}
